package com.zhiyou.springcloud.service;

import java.util.List;

import com.zhiyou.springcloud.bean.classes;
import com.zhiyou.springcloud.bean.leave;
import com.zhiyou.springcloud.bean.teachers;

public interface LeaveService {
	List<leave> getLeavesByConditions(Integer lid,String cname,String lreason,Integer approval);
	
	int updateLeave(Integer lid);
	
	List<classes> selectCnameByTid(Integer tid);
	
	int noPassLeave(Integer lid,String nopassreason);
	
	List<teachers> getAllTeachers();
	
	int addLeave(leave leave);
}
